<template>
	<view>
		<!-- 搜索栏 -->
		<view class="search-bar">
			<input type="text" placeholder="搜索订单" />
			<button>搜索</button>
		</view>
		<!-- 标签页 -->
		<scroll-view class="uni-flex uni-row" scroll-x="true" @scroll="">
			<view class="flex-item">全部</view>
			<view class="flex-item">待付款</view>
			<view class="flex-item">待评价</view>
			<view class="flex-item">已完成</view>
			<view class="flex-item">已取消</view>
		</scroll-view>
		
		
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style>
	.search-bar {
	  background-color: white;
	  padding: 10rpx;
	  display: flex;
	  align-items: center;
	}
	.search-bar input {
	  flex: 1;
	  padding: 10rpx;
	  margin-right: 10rpx;
	  border: 1rpx solid #ddd;
	}
	.search-bar button {
	  background-color: #0099ff;
	  color: white;
	  border: none;
	  padding: 10rpx;
	}
	.tabs {
	  background-color: white;
	  display: flex;
	  justify-content: space-around;
	  padding: 10rpx 0;
	}
	
	.tab {
	  color: #333;
	}
	
	.scroll-view_H {
		white-space: nowrap;
		width: 100%;
	}

	.scroll-view-item_H {
		display: inline-block;
		width: 33%;
		height: 60rpx;
		line-height: 60rpx;
		text-align: center;
		font-size: 26rpx;
		background: #f1f1f1;
		border: 1rpx solid #ddd;
	}
</style>